|
PHY SET RIGID BODY SLEEP LINEAR VELOCITY
Control the linear velocity below which a rigid body may go to sleep.
PHY SET RIGID BODY SLEEP LINEAR VELOCITY ID, value#
ID
Integer
ID number of the rigid body
value#
Float
new sleep linear velocity, the range extends from 0.0 to infinity
Sets the linear velocity below which a rigid body may go to sleep. Rigid bodies whose linear velocity is above this threshold will not be put to sleep. If the threshold value is negative, the velocity threshold is set using the engines default sleep linear velocity.
No example code is provided for this command
|